package com.objcat.serviceprovider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName: TestController
 * Description:
 * <p>
 * date: 2020/7/23 18:40
 *
 * @author misheep
 * @since JDK 1.8
 */
@RestController
public class TestController {

    @GetMapping("/test/{string}")
    public String test(@PathVariable String string){
        return "Hello provider :"+string;
    }
}
